Inductive Program Synthesis as Induction of Context - Free Tree Grammars

نویسنده

  • FRITZ WYSOTZKI
چکیده

We present an application of grammar induction in the domain of inductive program synthesis. Synthesis of recursive programs from input/output examples involves the solution of two subproblems: transforming examples into straightforward programs and folding straightforward programs into (a set of) recursive equations. In this paper we focus on the second part of the synthesis problem, which corresponds to program synthesis from multiple traces or programming by demonstration. Instead of the original framework of synthesis of LISP functions and the currently prominent framework of inductive logic programming, we take a more general view covering both research areas: the synthesis of recursive program schemes. We show that this problem corresponds to the problem of inferring a context-free tree grammar from a single noise-free positive example and provide a synthesis method. While our method does (of course) not solve the synthesis problem for the unrestricted set of recursive program schemes, we can show that some limitations of known synthesis algorithms can be overcome. We argue that reformulating the program synthesis problem in the framework of grammatical inference provides for more transparency in what classes of problems really are covered by synthesis algorithms and can give rise to new algorithms with better performance. For the grammar induction community we hope to awaken interest in open problems in the inference of context-free tree grammars.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Studying impressive parameters on the performance of Persian probabilistic context free grammar parser

In linguistics, a tree bank is a parsed text corpus that annotates syntactic or semantic sentence structure. The exploitation of tree bank data has been important ever since the first large-scale tree bank, The Penn Treebank, was published. However, although originating in computational linguistics, the value of tree bank is becoming more widely appreciated in linguistics research as a whole. F...

متن کامل

Synthesis of Recursive Functions with Interdependent Parameters

We present a methodology for the inductive synthesis of recursive functions based on the theoretical framework of context-free tree grammars. The synthesis task is splitted into two parts: First, a small set of positive input/output examples is transformed into an “initial program” by means of heuristic search; second, the initial program is generalized to a recursive function. In this paper we...

متن کامل

What's Decidable about Syntax-Guided Synthesis?

Syntax-guided synthesis (SyGuS) is a recently proposed framework for program synthesis problems. The SyGuS problem is to find an expression or program generated by a given grammar that meets a correctness specification. Correctness specifications are given as formulas in suitable logical theories, typically amongst those studied in satisfiability modulo theories (SMT). In this work, we analyze ...

متن کامل

Context-Free Language Induction by Evolution of Deterministic Push-Down Automata Using Genetic Programming<

The process of learning often consists of Inductive Inference, making generalizations from samples. The problem here is finding generalizations (Grammars) for Formal Languages from finite sets of positive and negative sample sentences. The focus of this paper is on Context-Free Languages (CFL’s) as defined by Context-Free Grammars (CFG’s), some of which are accepted by Deterministic Push-Down A...

متن کامل

Adjunction As Substitution: An Algebraic Formulation of Regular Context-Free and Tree Adjoining Languages

There have been many attempts to give a coherent formulation of a hierarchical progression that would lead to a refined partition of the vast area stretching from the context-free to the context-sensitive languages. The purpose of this note is to describe a theory that seems to afford a promising method of interpreting the tree adjoining languages as the natural third step in a hierarchy that s...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998